<?php
namespace app\common\command;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class Install extends Command
{
    protected function configure()
    {
        $this->setName('install')->setDescription('install execution script');
    }

    /**
     * 脚本明细
     * @param Input $input
     * @param Output $output
     */
    protected function execute(Input $input, Output $output)
    {
        $output->writeln("Execution start");
		echo "\n";
		echo \install\DbInstall::execute(config('database.prefix'));	
		echo "\n";
        $output->writeln("end of execution");
    }
}